package com.micromall.model;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 订单表
 * </p>
 *
 * @author Dante Fung
 * @since 2017-07-26
 */
@TableName("BUSI_ORDER")
public class BusiOrder extends Model<BusiOrder> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("ID")
	private String id;
    /**
     * 数据来源
     */
	@TableField("DATA_FROM")
	private String dataFrom;
	@TableField("STANDY4")
	private String standy4;
    /**
     * 收货人联系方式
     */
	@TableField("REC_PHONE")
	private String recPhone;
    /**
     * 县级以下的详细地址
     */
	@TableField("ADDRESS2")
	private String address2;
    /**
     * 收货人姓名
     */
	@TableField("RECEIVER")
	private String receiver;
	@TableField("STANDY2")
	private String standy2;
    /**
     * 区域编码
     */
	@TableField("AREA_ID")
	private String areaId;
    /**
     * 收货地址外键
     */
	@TableField("REC_ADDR_ID")
	private String recAddrId;
	@TableField("STANDY5")
	private String standy5;
    /**
     * 支付时间格式yyyy-MM-dd HH:mm:ss
     */
	@TableField("PAY_TIME")
	private String payTime;
    /**
     * 完整收货地址
     */
	@TableField("ADDRESS1")
	private String address1;
	@TableField("STANDY3")
	private String standy3;
    /**
     * 会员编号:WS+手机号
     */
	@TableField("MEMBER_NO")
	private String memberNo;
    /**
     * 更新人
     */
	@TableField("UPDATOR")
	private String updator;
    /**
     * 更新时间格式:yyyy-MM-dd HH:mm:ss
     */
	@TableField("UPDATEA_TIME")
	private String updateaTime;
    /**
     * 创建人
     */
	@TableField("CREATOR")
	private String creator;
	@TableField("STANDY1")
	private String standy1;
    /**
     * Y:有效 N:无效
     */
	@TableField("DATA_STATUS")
	private String dataStatus;
    /**
     * 订单流水号
     */
	@TableField("ORDER_NO")
	private String orderNo;
    /**
     * 支付状态:未支付:10已支付:20;
     */
	@TableField("PAY_STATUS")
	private String payStatus;
    /**
     * 订单总价
     */
	@TableField("TOTAL_AMOUNT")
	private String totalAmount;
    /**
     * 订单创建时间格式yyyy-MM-dd HH:mm:ss
     */
	@TableField("CREATE_TIME")
	private String createTime;
    /**
     * 创建人编号
     */
	@TableField("CREATOR_CODE")
	private String creatorCode;
    /**
     * 创建人姓名
     */
	@TableField("CREATOR_NAME")
	private String creatorName;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDataFrom() {
		return dataFrom;
	}

	public void setDataFrom(String dataFrom) {
		this.dataFrom = dataFrom;
	}

	public String getStandy4() {
		return standy4;
	}

	public void setStandy4(String standy4) {
		this.standy4 = standy4;
	}

	public String getRecPhone() {
		return recPhone;
	}

	public void setRecPhone(String recPhone) {
		this.recPhone = recPhone;
	}

	public String getAddress2() {
		return address2;
	}

	public void setAddress2(String address2) {
		this.address2 = address2;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getStandy2() {
		return standy2;
	}

	public void setStandy2(String standy2) {
		this.standy2 = standy2;
	}

	public String getAreaId() {
		return areaId;
	}

	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}

	public String getRecAddrId() {
		return recAddrId;
	}

	public void setRecAddrId(String recAddrId) {
		this.recAddrId = recAddrId;
	}

	public String getStandy5() {
		return standy5;
	}

	public void setStandy5(String standy5) {
		this.standy5 = standy5;
	}

	public String getPayTime() {
		return payTime;
	}

	public void setPayTime(String payTime) {
		this.payTime = payTime;
	}

	public String getAddress1() {
		return address1;
	}

	public void setAddress1(String address1) {
		this.address1 = address1;
	}

	public String getStandy3() {
		return standy3;
	}

	public void setStandy3(String standy3) {
		this.standy3 = standy3;
	}

	public String getMemberNo() {
		return memberNo;
	}

	public void setMemberNo(String memberNo) {
		this.memberNo = memberNo;
	}

	public String getUpdator() {
		return updator;
	}

	public void setUpdator(String updator) {
		this.updator = updator;
	}

	public String getUpdateaTime() {
		return updateaTime;
	}

	public void setUpdateaTime(String updateaTime) {
		this.updateaTime = updateaTime;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getStandy1() {
		return standy1;
	}

	public void setStandy1(String standy1) {
		this.standy1 = standy1;
	}

	public String getDataStatus() {
		return dataStatus;
	}

	public void setDataStatus(String dataStatus) {
		this.dataStatus = dataStatus;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(String payStatus) {
		this.payStatus = payStatus;
	}

	public String getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(String totalAmount) {
		this.totalAmount = totalAmount;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCreatorCode() {
		return creatorCode;
	}

	public void setCreatorCode(String creatorCode) {
		this.creatorCode = creatorCode;
	}

	public String getCreatorName() {
		return creatorName;
	}

	public void setCreatorName(String creatorName) {
		this.creatorName = creatorName;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "BusiOrder{" +
				"id='" + id + '\'' +
				", dataFrom='" + dataFrom + '\'' +
				", standy4='" + standy4 + '\'' +
				", recPhone='" + recPhone + '\'' +
				", address2='" + address2 + '\'' +
				", receiver='" + receiver + '\'' +
				", standy2='" + standy2 + '\'' +
				", areaId='" + areaId + '\'' +
				", recAddrId='" + recAddrId + '\'' +
				", standy5='" + standy5 + '\'' +
				", payTime='" + payTime + '\'' +
				", address1='" + address1 + '\'' +
				", standy3='" + standy3 + '\'' +
				", memberNo='" + memberNo + '\'' +
				", updator='" + updator + '\'' +
				", updateaTime='" + updateaTime + '\'' +
				", creator='" + creator + '\'' +
				", standy1='" + standy1 + '\'' +
				", dataStatus='" + dataStatus + '\'' +
				", orderNo='" + orderNo + '\'' +
				", payStatus='" + payStatus + '\'' +
				", totalAmount='" + totalAmount + '\'' +
				", createTime='" + createTime + '\'' +
				", creatorCode='" + creatorCode + '\'' +
				", creatorName='" + creatorName + '\'' +
				'}';
	}
}
